package com.yunxin.core.infra.persistence.mapper.areas;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.yunxin.core.infra.persistence.entity.areas.AreasDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author zero°
 * @since 2023-07-12
 */
@DS("core")
@Mapper
public interface AreasExtendMapper extends AreasMapper {

    /**
     * 查询省市两级级联数据
     * @return  List<AreasResult>
     */
    List<AreasDO> listTwoLevelArea();

    /**
     * 获取所有城市名称
     * @return List<String>
     */
    List<String> listCityName();
}
